package com.etcn.modules.busi.order.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.etcn.common.pojo.BaseEntity;

import java.util.Date;

/**
 * 订单entity
 * @author guozc
 * @date 2018-03-19
 */
public class WmOrder extends BaseEntity<WmOrder> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @JSONField(serialize = false)
    private Long id;

    /**
	 *  订单号
	 */
    private String orderSn;

    /**
	 * 会员ID
	 */
    @JSONField(serialize = false)
    private String memberId;

    /**
	 * vip产品id
	 */
    @JSONField(serialize = false)
    private String vipId;

    /**
	 * vip产品名称
	 */
    @JSONField(serialize = false)
    private String vipName;
    
    /**
     * vip截止日期
     */
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date vipEndTime;

    /**
	 * 订单名称
	 */
    private String orderName;

    /**
	 * 订单状态(1:待支付,2:已支付,3:已失效,4: 已过期)
	 */
    private String orderStatus;

    /**
     * 订单状态名称
     */
    private String orderStatusName;

    /**
	 * 订单金额
	 */
    private String orderAmount;
    
    /**
     * 支付金额
     */
    private String payAmount;

    /**
	 * 支付方式(1:支付宝,2:微信)
	 */
    @JSONField(serialize = false)
    private String payType;

    /**
	 * 支付时间
	 */
    @JSONField(serialize = false)
    private Date payTime;
    
    /**
     * 是否开票（1:是,0:否）
     */
    private String invoiced;

    /**
	 * 创建时间
	 */
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
	 * 修改时间
	 */
    @JSONField(serialize = false)
    private Date modifyTime;

	public WmOrder() {
	}

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public String getVipId() {
        return vipId;
    }

    public void setVipId(String vipId) {
        this.vipId = vipId;
    }

    public String getMemberId() {
        return memberId;
    }
    
    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getVipName() {
        return vipName;
    }
    
    public void setVipName(String vipName) {
        this.vipName = vipName;
    }

    public String getOrderName() {
        return orderName;
    }
    
    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public String getOrderStatus() {
        return orderStatus;
    }
    
    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderAmount() {
        return orderAmount;
    }
    
    public void setOrderAmount(String orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getPayType() {
        return payType;
    }
    
    public void setPayType(String payType) {
        this.payType = payType;
    }

    public Date getPayTime() {
        return payTime;
    }
    
    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Date getCreateTime() {
        return createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }
    
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getOrderStatusName() {
        return orderStatusName;
    }

    public void setOrderStatusName(String orderStatusName) {
        this.orderStatusName = orderStatusName;
    }

	public String getInvoiced() {
	
		return invoiced;
	}
	
	public void setInvoiced(String invoiced) {
	
		this.invoiced = invoiced;
	}

	
	public Date getVipEndTime() {
	
		return vipEndTime;
	}

	
	public void setVipEndTime(Date vipEndTime) {
	
		this.vipEndTime = vipEndTime;
	}

	
	public String getPayAmount() {
	
		return payAmount;
	}

	
	public void setPayAmount(String payAmount) {
	
		this.payAmount = payAmount;
	}
	
	
	
    
}
